<?php

namespace App\Api\Auth\Models;

use Illuminate\Database\Eloquent\Model;

class UsersOpenId extends Model
{
    protected $fillable = [
        'open_id',
        'app_id',
        'user_id',
        'head_img',
        'nickname',
        'unionid',
        'notify_count',
    ];

    public function user()
    {
        return $this->belongsTo('App\User');
    }
}
